<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:cc="http://java.sun.com/jsf/composite"
	xmlns:ic="http://ivyteam.ch/jsf/component"
	xmlns:p="http://primefaces.org/ui"
	xmlns:pe="http://primefaces.org/ui/extensions"
	xmlns:pm="http://primefaces.org/mobile">

<cc:interface componentType="IvyComponent">
</cc:interface>

<cc:implementation>
	<h:form>
<!-- 		<p:panel header="#{data.task.id}" style="width:400px"> -->
			<h:panelGrid columns="2" width="100%">

				<h:panelGroup style="text-align:right"  layout="block">

				</h:panelGroup>
			</h:panelGrid>
			<h:panelGroup id="titlelabel" layout="block">
				<h:outputLabel value="Title" />
			</h:panelGroup>
			<h:panelGroup id="title" layout="block">
				<p:inputText name="txtTitle" id="txtTitle" value="#{data.task.title}"
					style="width:100%"></p:inputText>
			</h:panelGroup>
			<h:panelGroup id="titleDesc" layout="block">
				<h:outputLabel value="Description" />
			</h:panelGroup>
			<h:panelGroup id="Desc" layout="block">
				<p:inputTextarea name="txtDesc" id="txtDesc"
					value="#{data.task.description}" style="width:100%"></p:inputTextarea>
			</h:panelGroup>
			<h:panelGroup id="titleAssigned" layout="block">
				<h:outputLabel value="Assignee" />
				<p:inputText name="txtAssigned" id="txtAssigned"
					value="#{data.task.assigned}" style="width:100%"></p:inputText>
			</h:panelGroup>
			<h:panelGrid columns="2" width="100%">
				<h:panelGroup style="text-align:right" id="button" layout="block">
					<p:commandButton value="History" name="btnHistory" id="btnHistory"></p:commandButton>
					<p:commandButton value="Save" name="btnSave" id="btnSave"></p:commandButton>
				</h:panelGroup>
			</h:panelGrid>
<!-- 		</p:panel> -->
	</h:form>
</cc:implementation>

</html>
